package org.example.rmsmsapi.Utils;

import java.text.DecimalFormat;

/**
 * Created by 黄启位 on 2021-12-12.
 */
public class YwxhUtils {
    /**
     * 获取序号如：0000004567这种
     * @param comparString
     * @param param
     * @return
     */
    public static  String Getxh(String comparString,String param){
        Long str1=Long.parseLong(param);
        DecimalFormat df=new DecimalFormat(comparString);
        String str2=df.format(str1);
        return str2;
    }
}
